package br.com.vendor_engine.telas;

public class TelaPrincipal extends javax.swing.JFrame {

    public TelaPrincipal() {
        initComponents();
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jToolBar1 = new javax.swing.JToolBar();
        NPropostaVenda = new javax.swing.JButton();
        NPropostaLocacao = new javax.swing.JButton();
        NCliente = new javax.swing.JButton();
        jButton1 = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        jSeparator1 = new javax.swing.JSeparator();
        jMenuBar1 = new javax.swing.JMenuBar();
        Arquivo = new javax.swing.JMenu();
        jMenu1 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenuItem3 = new javax.swing.JMenuItem();
        jMenuItem4 = new javax.swing.JMenuItem();
        jMenuItem5 = new javax.swing.JMenuItem();
        jMenu4 = new javax.swing.JMenu();
        jMenuItem11 = new javax.swing.JMenuItem();
        jMenuItem12 = new javax.swing.JMenuItem();
        jMenuItem13 = new javax.swing.JMenuItem();
        jMenuItem14 = new javax.swing.JMenuItem();
        jMenuItem15 = new javax.swing.JMenuItem();
        jMenuItem7 = new javax.swing.JMenuItem();
        jMenuItem6 = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jMenuItem8 = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Cubesoft Vendor Engine v1.0.0");

        jToolBar1.setBorder(javax.swing.BorderFactory.createEtchedBorder(null, new java.awt.Color(102, 102, 102)));
        jToolBar1.setFloatable(false);
        jToolBar1.setRollover(true);

        NPropostaVenda.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/vendor_engine/imagens/Nova Proposta de Venda.png"))); // NOI18N
        NPropostaVenda.setToolTipText("Nova Proposta de Venda");
        NPropostaVenda.setFocusable(false);
        NPropostaVenda.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        NPropostaVenda.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(NPropostaVenda);

        NPropostaLocacao.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/vendor_engine/imagens/Nova Proposta de Locação.png"))); // NOI18N
        NPropostaLocacao.setToolTipText("Nova Proposta de Locação");
        NPropostaLocacao.setFocusable(false);
        NPropostaLocacao.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        NPropostaLocacao.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(NPropostaLocacao);

        NCliente.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/vendor_engine/imagens/Novo Cliente CNPJ.png"))); // NOI18N
        NCliente.setToolTipText("Adicionar Cliente CNPJ");
        NCliente.setFocusable(false);
        NCliente.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        NCliente.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(NCliente);

        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/vendor_engine/imagens/Novo Cliente CPF.png"))); // NOI18N
        jButton1.setToolTipText("Adicionar Ciente CPF");
        jButton1.setFocusable(false);
        jButton1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton1.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(jButton1);

        jPanel1.setBackground(new java.awt.Color(255, 255, 255));

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 495, Short.MAX_VALUE)
        );

        Arquivo.setText("Arquivo");

        jMenu1.setText("Novo");

        jMenuItem1.setText("Cliente CNPJ");
        jMenu1.add(jMenuItem1);

        jMenuItem2.setText("Cliente CPF");
        jMenu1.add(jMenuItem2);

        jMenuItem3.setText("Produto");
        jMenu1.add(jMenuItem3);

        jMenuItem4.setText("Proposta de Venda");
        jMenu1.add(jMenuItem4);

        jMenuItem5.setText("Proposta de Locação");
        jMenu1.add(jMenuItem5);

        Arquivo.add(jMenu1);

        jMenu4.setText("Abrir");

        jMenuItem11.setText("Cliente CNPJ");
        jMenu4.add(jMenuItem11);

        jMenuItem12.setText("Cliente CPF");
        jMenu4.add(jMenuItem12);

        jMenuItem13.setText("Produto");
        jMenu4.add(jMenuItem13);

        jMenuItem14.setText("Proposta de Venda");
        jMenu4.add(jMenuItem14);

        jMenuItem15.setText("Proposta de Locação");
        jMenu4.add(jMenuItem15);

        Arquivo.add(jMenu4);

        jMenuItem7.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_L, java.awt.event.InputEvent.CTRL_MASK));
        jMenuItem7.setText("Logout");
        jMenuItem7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem7ActionPerformed(evt);
            }
        });
        Arquivo.add(jMenuItem7);

        jMenuItem6.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK));
        jMenuItem6.setText("Sair");
        jMenuItem6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem6ActionPerformed(evt);
            }
        });
        Arquivo.add(jMenuItem6);

        jMenuBar1.add(Arquivo);

        jMenu2.setText("Editar");

        jMenuItem8.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        jMenuItem8.setText("Configurações");
        jMenu2.add(jMenuItem8);

        jMenuBar1.add(jMenu2);

        jMenu3.setText("Sobre");
        jMenuBar1.add(jMenu3);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 1024, Short.MAX_VALUE)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.TRAILING)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        setSize(new java.awt.Dimension(1040, 639));
        setLocationRelativeTo(null);
    }// </editor-fold>//GEN-END:initComponents

    private void jMenuItem7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem7ActionPerformed
        TelaLogon tl = new TelaLogon(this, true);
        this.dispose();
        tl.setVisible(true);
    }//GEN-LAST:event_jMenuItem7ActionPerformed

    private void jMenuItem6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem6ActionPerformed
        System.exit(0);
    }//GEN-LAST:event_jMenuItem6ActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenu Arquivo;
    private javax.swing.JButton NCliente;
    private javax.swing.JButton NPropostaLocacao;
    private javax.swing.JButton NPropostaVenda;
    private javax.swing.JButton jButton1;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem11;
    private javax.swing.JMenuItem jMenuItem12;
    private javax.swing.JMenuItem jMenuItem13;
    private javax.swing.JMenuItem jMenuItem14;
    private javax.swing.JMenuItem jMenuItem15;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem jMenuItem4;
    private javax.swing.JMenuItem jMenuItem5;
    private javax.swing.JMenuItem jMenuItem6;
    private javax.swing.JMenuItem jMenuItem7;
    private javax.swing.JMenuItem jMenuItem8;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JToolBar jToolBar1;
    // End of variables declaration//GEN-END:variables
}
